package com.cn.serverline.lineicp.produce.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生产执行开工、停工记录表
 * </p>
 *
 * @author 王烁
 * @since 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_PRODUCE_START_END")
@ApiModel(value="TeProduceStartEnd对象", description="生产执行开工、停工记录表")
public class ProduceStartEndEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "开工时间")
    @TableField("START_TIME")
    private Date startTime;

    @ApiModelProperty(value = "完工时间")
    @TableField("END_TIME")
    private Date endTime;

    @ApiModelProperty(value = "区别:总装（ASSEMBLY）部装(DIVISION)")
    @TableField("DISTINGUISH")
    private String distinguish;

    @ApiModelProperty(value = "总装、部装下发id")
    @TableField("AUTOMATIC_SCHEDULE_ID")
    private Long automaticScheduleId;


    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


}
